Viewpoint routines alter the current tranformation matrix.
- void polarview
- (Coord dist,Angle azim,Angle inc,Angle twist)
Specify the viewer's position in polar coordinates by
giving the distance from the viewpoint to the world
origin, the azimuthal angle in the x-y plane, measured
from the y-axis, the incidence angle in the y-z plane,
measured from the z-axis, and the twist angle about the
line of sight.
- void lookat
- (Coord vx,Coord vy,Coord vz,Coord px,Coord py,Coord pz,
Angle twist)
Specify the viewer's position by giving a viewpoint and
a reference point in world coordinates. A twist about
the line of sight may also be given.